<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>strsplit</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function  </center>
    <div align="right">Last update : 01/02/2006</div>
    <p>
      <b>strsplit</b> -  split a string into a vector of strings</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>v = strsplit(str,ind)</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>str</b>
        </tt>
       : a string
       </li>
      <li>
        <tt>
          <b>ind</b>
        </tt>
       : a vector of stricly increasing indices in the interval <tt>
          <b>[1 length(str)-1] </b>
        </tt>.
       </li>
      <li>
        <tt>
          <b>v</b>
        </tt>
       : the resulting column vector of strings (dimension <tt>
          <b>size(ind,'*')+1 </b>
        </tt>).
       </li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <tt>
      <b>v = strsplit(str,ind)</b>
    </tt> splits the string <tt>
      <b>str</b>
    </tt> into
    a vector of strings at the points given by the indices in <tt>
      <b>ind</b>
    </tt>
    (after each characters pointed to by the index in ind).<h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>
    S='strsplit splits a string into a vector of strings';
    strsplit(S,[15 25 30])
    ind=strindex(S,' ')
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="strcat.htm">
        <tt>
          <b> strcat</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="tokens.htm">
        <tt>
          <b> tokens</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Authors</font>
    </h3>
    <dl>
      <dd>
        <b>S. Steer</b>
     INRIA
    </dd>
    </dl>
  </body>
</html>
